<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:pe="http://primefaces.org/ui/extensions"
	xmlns:p="http://primefaces.org/ui"
	xmlns:h="http://java.sun.com/jsf/html">

<h:head>

	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<link href="./resources/css/default.css" rel="stylesheet"
		type="text/css" />
	<link href="./resources/css/cssLayout.css" rel="stylesheet"
		type="text/css" />
	<title>Facelets Template</title>
</h:head>

<h:body>
	<div class="contenedor">
		<div class="cabecera">
			<ui:insert name="cabecera">Content</ui:insert>
			<p:growl id="messages" autoUpdate="true" showDetail="true" showSummary="true" severity="" />
		</div>

		<div class="menu">
			<ui:insert name="menu">


				<h:form id="form">

					<p:tree value="#{treeBean.root}" var="node" id="tree"
						style="width: 99% !important;">
						<p:treeNode id="treeNode">
							<h:outputText value="#{node}" id="lblNode" />
						</p:treeNode>
					</p:tree>
					
					<p:commandButton actionListener="#{treeBean.mensaje()}"/>

				</h:form>


			</ui:insert>
		</div>

		<div class="contenido">

			<ui:insert name="contenido">Content</ui:insert>
		</div>

		<div class="pie">
			<ui:insert name="pie">Content</ui:insert>
		</div>
	</div>
</h:body>

</html>
